package com.zyy.builder.demo01;

/**
 * 指挥者，指挥工人干活
 */
public class Director {
    public Product build(Builder builder) {
        builder.buildA();
        builder.buildB();
        builder.buildC();
        builder.buildD();

        return builder.getProduct();
    }
}
